#!/usr/bin/python
# Test File Operator
import pickle as p
poem=''' Starting.......
Hello,World
Ni Hao Shi Jie
Ending .........'''
str=['shijie','wang sui']
str1={'wang':'leijie','ni':'hao'}
f=file('wang.txt','w');
#f.write(poem);
p.dump(str,f);
p.dump(str1,f);
f.close();

f=file('wang.txt')
i=0
strlist=p.load(f);
print strlist
strlist=p.load(f);
print strlist
#while True:
    #i=i+1
    #line=f.readline()
    #if len(line)==0:
        #break;
    #print '"%d","%s"' %(i,line)